package com.sec.history.dao;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.sec.history.entity.History;
import com.sec.user.entity.User;

@Repository("historyDao")
public interface HistoryDao extends JpaRepository<History, String> {

	public Page<History> findAllByUser(User user, Pageable pageable);
}
